StoreEngine\Models\Product A

Total Complexity 53
Dependencies 3
Dependents 4
Total lines 351
Lines of code 283
Logical lines of code 100
Comment lines 11
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
get_product_rating()
S
41 4 69
is_all_product_product_autocomplete()
S
59 4 14
duration_frequency()
S
62 4 12
get_price_expiry_date()
S
64 3 9
next_payment_date()
S
64 3 10
is_subscription()
S
68 3 7
get_products_by_category()
S
57 1 18
update()
S
58 1 16
get_price_data_by_id()
S
68 2 8
trial_end_date()
S
68 2 7
get_trial_days()
S
69 2 7
get_setup_fee()
S
69 2 7
get_price_duration()
S
65 2 8
get_price_name()
S
69 2 7
get_compare_price()
S
69 2 7
save()
S
59 1 15
get_price_by_id()
S
69 2 7
get_product_price_details()
S
65 2 8
get_subscription_product_interval_and_count()
S
67 2 8
delete()
S
71 2 6
get_products()
S
62 1 11
get_products_by_status()
S
91 1 2
get_products_by_date_range()
S
91 1 2
get_products_by_tag()
S
91 1 2
get_product_by_slug()
S
64 1 10
get_product_meta()
S
77 1 3
get_product_prices()
S
79 1 3